package com.leyou.order.config;

import com.github.wxpay.sdk.WXPayConfig;
import lombok.Data;

import java.io.InputStream;

/**
 * @Author: Rose
 * @Date: 2021/4/13 18:35
 * @description ${description}
 * @version: 1.0.0
 */
@Data
public class PayConfig implements WXPayConfig {

    // 公众账号ID
    private String appID = "wx8397f8696b538317";

    // 商户号
    private String mchID = "1473426802";

    // 生成签名的密钥
    private String key = "T6m9iK73b0kn9g5v426MKfHQH7X8rKwb";

    // 连接超时时间
    private int httpConnectTimeoutMs = 1000;

    // 读取超时时长
    private int httpReadTimeoutMs = 5000;

    // 下单通知回调地址
    private String notifyUrl = "http://www.leyou.com";


    // 获取商户证书内容，（扫码支付不用设置）
    @Override
    public InputStream getCertStream() {
        return null;
    }


}